Square root of a number in python